{extend name="layout"}
{block name="content"}
<div class="box-header with-border">
    <h3 class="box-title">文章列表</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
    <table class="table table-bordered">
        <tbody><tr>
            <th style="width: 10px">#</th>
            <th>文章标题</th>
        </tr>
        {volist name='posts' id='post'}
        <tr>
            <td>{$post.id}.</td>
            <td><a href="/posts/{$post.id}/show">{$post.title}</a></td>
        </tr>
        {/volist}
        </tbody>
    </table>
    {$posts|raw}
</div>
{/block}